package com.hyt.it.ogt.kq.common.exception;

/**
 * 请求不合法异常类
 *
 * @author liuq
 * @since 2020-09-27
 */
@SuppressWarnings("serial")
public class GovInvalidRequestException extends com.hyt.exception.exception.InvalidRequestException {

    Integer code;

    String message;

    public GovInvalidRequestException(Integer code, String message) {
        super(code, message);
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

}
